package cn.stylefeng.guns.modular.business.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 意见反馈
 *
 * Created by pzp on 2019/7/24.
 */
@Data
@TableName("c_advice_feedback")
public class AdviceFeedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "advice_id", type = IdType.AUTO)
    private Integer adviceId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 反馈内容
     */
    private String content;

    /**
     * 图片地址
     */
    private String picture;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField("delete_flag")
    private Integer deleteFlag;
}
